Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reintroducing empty check for metric template references. #1224

Merged
merged 2 commits into from
Jun 23, 2022

Conversation

Freydal
Copy link
Contributor

@Freydal Freydal commented Jun 21, 2022

Reverting removal of empty string check in commit 7df1bee to support the namespace being optional. Adding test for future validation.

…erting removal in commit 7df1bee to support the optianl namespace. Adding test for future valdiation.

Signed-off-by: Nick Freyaldenhoven <freyaldenhovennc@gmail.com>
Copy link
Member

@aryan9600 aryan9600 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @Freydal 🙇
just one minor nitpick

pkg/controller/scheduler_metrics_test.go Outdated Show resolved Hide resolved
Signed-off-by: Nick Freyaldenhoven <freyaldenhovennc@gmail.com>
@Freydal Freydal force-pushed the fix-optional-metric-template-namespace branch from 3a2590e to 072d9b9 Compare June 22, 2022 13:41
@Freydal Freydal requested a review from aryan9600 June 22, 2022 17:34
@codecov-commenter
Copy link

Codecov Report

Merging #1224 (072d9b9) into main (358391b) will decrease coverage by 0.08%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##             main    #1224      +/-   ##
==========================================
- Coverage   54.69%   54.60%   -0.09%     
==========================================
  Files          80       80              
  Lines        6823     6823              
==========================================
- Hits         3732     3726       -6     
- Misses       2511     2515       +4     
- Partials      580      582       +2     
Impacted Files Coverage Δ
pkg/controller/events.go 51.23% <0.00%> (-4.96%) ⬇️
pkg/controller/scheduler_metrics.go 36.08% <50.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 358391b...072d9b9. Read the comment docs.

@aryan9600 aryan9600 merged commit 9ce931a into fluxcd:main Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants